package com.zisuyi.game.sdk.game.bean;

import com.google.gson.annotations.SerializedName;

public class UpOffwallBean {
    public static UpOffwallBean create(int reward){
        UpOffwallBean bean = new UpOffwallBean();
        DataDTO dto = new DataDTO();
        dto.name=String.valueOf(reward);
        dto.type="OFFWALL_REWARD";
        bean.setData(dto);
        return bean;
    }
    /**
     * data : {"amount":0,"is_mul":false,"name":"level","type":"LEVEL_UP"}
     */

    @SerializedName("data")
    private DataDTO data;

    public DataDTO getData() {
        return data;
    }

    public void setData(DataDTO data) {
        this.data = data;
    }

    public static class DataDTO {
        /**
         * amount : 0
         * is_mul : false
         * name : level
         * type : LEVEL_UP
         */

        @SerializedName("amount")
        private Integer amount;
        @SerializedName("is_mul")
        private Boolean isMul;
        @SerializedName("name")
        private String name;
        @SerializedName("type")
        private String type;

        public Integer getAmount() {
            return amount;
        }

        public void setAmount(Integer amount) {
            this.amount = amount;
        }

        public Boolean isIsMul() {
            return isMul;
        }

        public void setIsMul(Boolean isMul) {
            this.isMul = isMul;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }
    }
}
